b43f04a68ed8496a32e0a67632df0cbfb7299a8d,plugins/groovy/src/org/jetbrains/plugins/groovy/lang/groovydoc/psi/impl/GrDocMethodReferenceImpl.java,GrDocMethodReferenceImpl,multiResolveImpl,#,54

Before Change


      PsiType[] parameterTypes = getParameterList().getParameterTypes();
      MethodResolverProcessor processor = new MethodResolverProcessor(name, this, false, false, parameterTypes, PsiType.EMPTY_ARRAY);
      resolved.processDeclarations(processor, PsiSubstitutor.EMPTY, resolved, this);
      return processor.getCandidates();
    }
    return new ResolveResult[0];
  }

After Change


      MethodResolverProcessor constructorProcessor = new MethodResolverProcessor(name, this, false, true, parameterTypes, PsiType.EMPTY_ARRAY);
      resolved.processDeclarations(processor, PsiSubstitutor.EMPTY, resolved, this);
      resolved.processDeclarations(constructorProcessor, PsiSubstitutor.EMPTY, resolved, this);
      return ArrayUtil.mergeArrays(processor.getCandidates(), constructorProcessor.getCandidates(), GroovyResolveResult.class);
    }
    return new ResolveResult[0];
  }